package com.umpay.dto.merAccess.req.consume;

import com.umpay.annotation.Pattern;
import com.umpay.dto.merAccess.req.CommonReq;
import org.hibernate.validator.constraints.NotEmpty;

	/**
	 * @ClassName: ConsumeDebitcardConfirmReq  
	 * @Description: 借记卡消费确认请求类
	 * @author liuhaidong  
	 * @date Jan 17, 2018
	 */
	public class ConsumeDebitcardConfirmReq extends CommonReq{
		
		@NotEmpty(message = "交易号不能为空")		
		@Pattern(message = "交易号格式不正确")
		private String trade_no;	//联动交易号
		
		@NotEmpty(message = "验证码不能为空")		
		@Pattern(message = "验证码格式不正确")
		private String verify_code;	//验证码
		
		@NotEmpty(message = "金额不能为空")		
		@Pattern(message = "金额格式不正确")
		private String amount;	//金额
		
		public String getTrade_no() {
			return trade_no;
		}
		public void setTrade_no(String trade_no) {
			this.trade_no = trade_no;
		}
		public String getVerify_code() {
			return verify_code;
		}
		public void setVerify_code(String verify_code) {
			this.verify_code = verify_code;
		}
		public String getAmount() {
			return amount;
		}
		public void setAmount(String amount) {
			this.amount = amount;
		}
		@Override
		public String toString() {
			return "ConsumeDebitcardConfirmReq [trade_no=" + trade_no + ", verify_code=" + verify_code + ", amount="
					+ amount + "]";
		}


	}
		